\documentclass{article}
\begin{document}

\begin{equation}
  \label{eq:1}
  f(x) = 1
\end{equation}

\begin{equation}
  \label{eq:1}
  g(x) = 1
\end{equation}

\end{document}
